package br.com.softclinica.view;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JComboBox;
import javax.swing.DefaultComboBoxModel;
import javax.swing.SwingConstants;
import javax.swing.UIManager;
import javax.swing.border.LineBorder;
import java.awt.Color;
import javax.swing.JButton;


public class TResponsavel extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_5;
	private JTextField textField_6;
	private JTextField textField_7;
	private JTextField textField_8;
	private JTextField textField_9;
	private JTextField textField_10;
	private JTextField textField_11;
	private JTextField textField_4;
	private JTextField textField_14;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try {
			UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel");
		} catch (Throwable e) {
			e.printStackTrace();
		}
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TResponsavel frame = new TResponsavel();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TResponsavel() {
		setTitle("Responsavel");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 814, 522);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblTelefoneFixo = new JLabel("Telefone fixo:");
		lblTelefoneFixo.setHorizontalAlignment(SwingConstants.RIGHT);
		lblTelefoneFixo.setBounds(206, 183, 74, 16);
		contentPane.add(lblTelefoneFixo);
		
		JLabel lblCelular = new JLabel("Celular:");
		lblCelular.setHorizontalAlignment(SwingConstants.RIGHT);
		lblCelular.setBounds(16, 184, 75, 16);
		contentPane.add(lblCelular);
		
		JLabel lblNewLabel = new JLabel("Endere\u00E7o:");
		lblNewLabel.setHorizontalAlignment(SwingConstants.RIGHT);
		lblNewLabel.setBounds(28, 211, 67, 16);
		contentPane.add(lblNewLabel);
		
		JLabel lblNewbairroLabel = new JLabel("Bairro:");
		lblNewbairroLabel.setHorizontalAlignment(SwingConstants.RIGHT);
		lblNewbairroLabel.setBounds(41, 241, 55, 16);
		contentPane.add(lblNewbairroLabel);
		
		JLabel lblCidade = new JLabel("Cidade:");
		lblCidade.setHorizontalAlignment(SwingConstants.RIGHT);
		lblCidade.setBounds(45, 273, 55, 16);
		contentPane.add(lblCidade);
		
		JLabel lblEmail = new JLabel("Email:");
		lblEmail.setHorizontalAlignment(SwingConstants.RIGHT);
		lblEmail.setBounds(47, 305, 55, 16);
		contentPane.add(lblEmail);
		
		textField_5 = new JTextField();
		textField_5.setBounds(283, 173, 104, 28);
		contentPane.add(textField_5);
		textField_5.setColumns(10);
		
		textField_6 = new JTextField();
		textField_6.setBounds(107, 177, 90, 28);
		contentPane.add(textField_6);
		textField_6.setColumns(10);
		
		textField_7 = new JTextField();
		textField_7.setBounds(107, 206, 281, 28);
		contentPane.add(textField_7);
		textField_7.setColumns(10);
		
		textField_8 = new JTextField();
		textField_8.setBounds(108, 236, 279, 28);
		contentPane.add(textField_8);
		textField_8.setColumns(10);
		
		JPanel panel = new JPanel();
		panel.setBorder(new LineBorder(new Color(0, 0, 0)));
		panel.setBounds(0, 3, 769, 147);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JLabel lblCdigo = new JLabel("C\u00F3digo:");
		lblCdigo.setBounds(4, 9, 82, 14);
		panel.add(lblCdigo);
		lblCdigo.setHorizontalAlignment(SwingConstants.RIGHT);
		
		JLabel lblNome = new JLabel("Nome:");
		lblNome.setBounds(8, 48, 82, 14);
		panel.add(lblNome);
		lblNome.setHorizontalAlignment(SwingConstants.RIGHT);
		
		JLabel lblNaturalidade = new JLabel("Naturalidade:");
		lblNaturalidade.setBounds(8, 79, 82, 16);
		panel.add(lblNaturalidade);
		lblNaturalidade.setHorizontalAlignment(SwingConstants.RIGHT);
		
		textField_4 = new JTextField();
		textField_4.setBounds(98, 71, 86, 28);
		panel.add(textField_4);
		textField_4.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setBounds(99, 38, 254, 28);
		panel.add(textField_1);
		textField_1.setColumns(10);
		
		textField = new JTextField();
		textField.setBounds(98, 6, 86, 28);
		panel.add(textField);
		textField.setColumns(10);
		
		JLabel lblCadastro = new JLabel("Cadastro:");
		lblCadastro.setBounds(188, 13, 55, 16);
		panel.add(lblCadastro);
		
		JLabel lblAtualizao = new JLabel("Atualiza\u00E7\u00E3o:");
		lblAtualizao.setBounds(363, 13, 76, 16);
		panel.add(lblAtualizao);
		
		textField_14 = new JTextField();
		textField_14.setBounds(246, 7, 106, 28);
		panel.add(textField_14);
		textField_14.setColumns(10);
		
		JLabel lblCpf = new JLabel("CPF:");
		lblCpf.setBounds(354, 47, 72, 16);
		panel.add(lblCpf);
		lblCpf.setHorizontalAlignment(SwingConstants.RIGHT);
		
		textField_3 = new JTextField();
		textField_3.setBounds(430, 37, 132, 28);
		panel.add(textField_3);
		textField_3.setColumns(10);
		
		JLabel lblSexo = new JLabel("Sexo:");
		lblSexo.setBounds(188, 80, 56, 16);
		panel.add(lblSexo);
		lblSexo.setHorizontalAlignment(SwingConstants.RIGHT);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(248, 72, 103, 26);
		panel.add(comboBox);
		comboBox.setModel(new DefaultComboBoxModel(new String[] {"MASCULINO", "FEMININO"}));
		
		JLabel lblDataDeNascimento = new JLabel("Nascimento: ");
		lblDataDeNascimento.setBounds(569, 46, 74, 16);
		panel.add(lblDataDeNascimento);
		lblDataDeNascimento.setHorizontalAlignment(SwingConstants.RIGHT);
		
		textField_2 = new JTextField();
		textField_2.setBounds(644, 36, 110, 28);
		panel.add(textField_2);
		textField_2.setColumns(10);
		
		JLabel lblQuantidadeDeFilhos = new JLabel("Filhos:");
		lblQuantidadeDeFilhos.setHorizontalAlignment(SwingConstants.RIGHT);
		lblQuantidadeDeFilhos.setBounds(376, 80, 57, 16);
		panel.add(lblQuantidadeDeFilhos);
		
		JComboBox comboBox_3 = new JComboBox();
		comboBox_3.setBounds(440, 74, 123, 26);
		panel.add(comboBox_3);
		
		JLabel lblEstadoCivil = new JLabel("Estado civil:");
		lblEstadoCivil.setBounds(565, 76, 78, 16);
		panel.add(lblEstadoCivil);
		lblEstadoCivil.setHorizontalAlignment(SwingConstants.RIGHT);
		
		JComboBox comboBox_2 = new JComboBox();
		comboBox_2.setBounds(645, 67, 105, 26);
		panel.add(comboBox_2);
		
		JLabel lblEscolaridade = new JLabel("Escolaridade:");
		lblEscolaridade.setHorizontalAlignment(SwingConstants.RIGHT);
		lblEscolaridade.setBounds(10, 115, 78, 16);
		panel.add(lblEscolaridade);
		
		JComboBox comboBox_1 = new JComboBox();
		comboBox_1.setBounds(101, 107, 80, 26);
		panel.add(comboBox_1);
		
		JPanel panel_1 = new JPanel();
		panel_1.setBorder(new LineBorder(new Color(0, 0, 0)));
		panel_1.setBounds(0, 162, 769, 223);
		contentPane.add(panel_1);
		panel_1.setLayout(null);
		
		JPanel panel_2 = new JPanel();
		panel_2.setBounds(376, 6, 10, 10);
		panel_1.add(panel_2);
		
		textField_9 = new JTextField();
		textField_9.setBounds(108, 105, 106, 28);
		panel_1.add(textField_9);
		textField_9.setColumns(10);
		
		textField_11 = new JTextField();
		textField_11.setBounds(108, 134, 106, 28);
		panel_1.add(textField_11);
		textField_11.setColumns(10);
		
		JLabel lblUf = new JLabel("UF:");
		lblUf.setBounds(262, 111, 55, 16);
		panel_1.add(lblUf);
		
		textField_10 = new JTextField();
		textField_10.setBounds(289, 105, 97, 28);
		panel_1.add(textField_10);
		textField_10.setColumns(10);
		
		JButton btnSalvar = new JButton("Salvar");
		btnSalvar.setBounds(552, 433, 90, 28);
		contentPane.add(btnSalvar);
		
		JButton btnCancelar = new JButton("Cancelar");
		btnCancelar.setBounds(682, 433, 90, 28);
		contentPane.add(btnCancelar);
	}
}
